<!--begin path way -->
<div class="pathway clearfix">
    <ul>
        <?php foreach ($breadcrumbs as $breadcrumb) { ?>
        <li>
            <a <?php if (isset($breadcrumb['index'])) echo 'class="homepage"'; ?> href="<?php echo $breadcrumb['link']; ?>">
                <?php echo $breadcrumb['title']; ?>
            </a>
        </li>
        <?php } ?>
    </ul>
</div>
<!--end path way -->

<?php if (isset($error)) { ?>
<div class="notice">
    <h3><?php echo $error; ?></h3>
</div>
<?php } ?>

<div class="page" id="pageAccountChangePassword">
    <h5 class="pageTitle">Thay đổi mật khẩu</h5>
    <form action="<?php echo Link::build('account/change-password'); ?>" method="post">
        <p>
            <label for="ctrl_oldPassword">Mật khẩu cũ:</label>
            <input type="password" name="old_password" required="required" />
        </p>
        <p>
            <label for="ctrl_newPassword">Mật khẩu mới:</label>
            <input type="password" name="new_password" required="required" />
        </p>
        <p>
            <label for="ctrl_confirmPassword">Xác nhận mật khẩu:</label>
            <input type="password" name="confirm_password" required="required" />
        </p>
        <p>
            <button type="submit" name="do" value="change_password">Thay đổi mật khẩu</button>
        </p>
    </form>
</div>